package phoenixAAD.WifiFlashDrive;

import phoenixAAD.WifiFlashDrive.SimplifiedExpandableListAdapter.SectionSet;
import phoenixAAD.WifiFlashDrive.SimplifiedExpandableListAdapter.SimplifiedExpandListAdapter;
import android.app.Activity;
import android.os.Bundle;
import android.widget.ExpandableListView;

/**
 * Help page for using the app
 */
public class HelpAppActivity extends Activity {
	private ExpandableListView list;

	
	private static final SectionSet[] sections = {
		new SectionSet(R.string.help_app_settings_title, R.string.help_app_settings),
		new SectionSet(R.string.help_app_start_title, R.string.help_app_start),
		new SectionSet(R.string.compatibility, R.string.help_tro_filename)
	};
	

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.help_section);
		setTitle(getResources().getString(R.string.help_app_title));
		list = (ExpandableListView) findViewById(R.id.help_section);
					
		list.setAdapter(SimplifiedExpandListAdapter.getAdapter(this, sections));
	}

}











